package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wux
 * @date 2023/5/23 11:25
 */
@Data
@TableName("t_prod_total")
@ApiModel(value = "产品生产目标表")
public class TProdTotal extends CommonEntity implements Serializable {
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "产品总需求量")
    private Integer prodNum;

    @ApiModelProperty(value = "设计完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date finishDate;
}
